package cn.billy.user.mapper;

import cn.billy.user.domain.Logininfo;
import cn.billy.user.domain.User;
import cn.billy.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author billy
 * @since 2022-07-06
 */
public interface UserMapper extends BaseMapper<User> {

    User getByPhone(String phone);
    User loadByEmail(String email);

    User getByLogininfoId(Long id);

}
